<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        .main {
            display: flex;
            /* justify-content: space-between */
        }
        
        .box {
            display: flex;
            width: 200px;
            height: 200px;
            background: rgba(179, 171, 171, 0.4);
            border-radius: 20%;
            margin: 0 10px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }
        /* 第一个色子 */
        
        .one {
            justify-content: center;
            align-items: center;
        }
        /* 第二个色子 */
        
        .two {
            justify-content: space-between;
        }
        
        .two>.circle {
            margin: 10px 5px;
        }
        
        .two .circle:last-child {
            align-self: flex-end;
        }
        /* 第三个色子 */
        
        .three {
            flex-direction: column;
        }
        
        .three>.circle {
            margin: 10px 5px;
        }
        
        .three .circle:nth-child(2) {
            align-self: center;
        }
        
        .three .circle:nth-child(3) {
            align-self: flex-end;
        }
        /* 第四个色子 */
        
        .four {
            /* justify-content: space-around; */
            justify-content: space-between;
        }
        
        .four .item {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        /* 第五个色子 */
        
        .five {
            justify-content: space-between;
        }
        
        .five .item {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .five .auto {
            display: flex;
            align-self: center;
        }
        
        .six {
            justify-content: space-between;
        }
        
        .six .item {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .nine {
            justify-content: space-between;
        }
        
        .nine .item {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .circle {
            width: 50px;
            height: 50px;
            background-color: black;
            border-radius: 50%;
        }
    </style>
</head>

<body>
    <div class="main">
        <div class="box one">
            <div class="circle"></div>
        </div>
        <div class="box two">
            <div class="circle"></div>
            <div class="circle"></div>
        </div>
        <div class="box three">
            <div class="circle"></div>
            <div class="circle"></div>
            <div class="circle"></div>
        </div>
        <div class="box four">
            <div class="item">
                <div class="circle"></div>
                <div class="circle"></div>
            </div>
            <div class="item">
                <div class="circle"></div>
                <div class="circle"></div>
            </div>
        </div>
        <div class="box five">
            <div class="item">
                <div class="circle"></div>
                <div class="circle"></div>
            </div>
            <div class="circle auto"></div>
            <div class="item">
                <div class="circle"></div>
                <div class="circle"></div>
            </div>
        </div>
        <div class="box six">
            <div class="item">
                <div class="circle"></div>
                <div class="circle"></div>
                <div class="circle"></div>
            </div>
            <div class="item">
                <div class="circle"></div>
                <div class="circle"></div>
                <div class="circle"></div>
            </div>
        </div>
        <div class="box nine">
            <div class="item">
                <div class="circle"></div>
                <div class="circle"></div>
                <div class="circle"></div>
            </div>
            <div class="item">
                <div class="circle"></div>
                <div class="circle"></div>
                <div class="circle"></div>
            </div>
            <div class="item">
                <div class="circle"></div>
                <div class="circle"></div>
                <div class="circle"></div>
            </div>
        </div>
    </div>

</body>

</html>